Include_directories (src)
Set (LUA_SOURCES
        ldblib.c  liolib.c    lopcodes.c  lstrlib.c
        lapi.c
        ldebug.c  ltable.c   lundump.c
        llex.c
        lauxlib.c       ldo.c     loslib.c    ltablib.c  lutf8lib.c
        lparser.c   ltm.c      lvm.c
        lbaselib.c      ldump.c   lmathlib.c
        lcode.c         lfunc.c   lmem.c      lua.c      lzio.c
        lstate.c    luac.c
        lcorolib.c      lgc.c     loadlib.c
        lctype.c        lgc.h     lobject.c   lstring.c
        linit.c     lua.hpp
)

#add_library ("Lua${Lua_Version}" STATIC ${LUA_SOURCES})

if (LIBRARY_TYPE_SHARED)
add_library ("Lua${Lua_Version}" SHARED ${LUA_SOURCES})
endif ()

if (LIBRARY_TYPE_STATIC)
add_library ("Lua${Lua_Version}_Static" STATIC ${LUA_SOURCES})
#set_target_properties ("Lua${Lua_Version}_Static" PROPERTIES OUTPUT_NAME "Lua${Lua_Version}")
endif ()

